package cn.com.dhcc.turbo.entity.api;

import com.thoughtworks.xstream.annotations.XStreamAlias;

/**
 * 路由头信息
 */
@XStreamAlias("resp")
public class Resp extends RouteEntry {
	private static final long serialVersionUID = 1741690660520279883L;
	/**
	 * 订单组号
	 */
	@XStreamAlias("groupId")
	private String groupId;
	/**
	 * 订单号
	 */
	@XStreamAlias("orderId")
	private String orderId;
	/**
	 * 数据交换平台状态码
	 * 200：成功
	 * 400：参数错误
	 * 500: 服务器异常
	 */
	@XStreamAlias("status")
	private String status;
	/**
	 * 数据交换平台接收提示信息
	 */
	@XStreamAlias("message")
	private String message;
	/**
	 * 数据交换平台接收的日期，格式YYYY-MM-dd HH:mm:ss
	 */
	@XStreamAlias("date")
	private String date;
	public String getGroupId() {
		return groupId;
	}
	public String getOrderId() {
		return orderId;
	}
	public String getStatus() {
		return status;
	}
	public String getMessage() {
		return message;
	}
	public String getDate() {
		return date;
	}
	public void setGroupId(String groupId) {
		this.groupId = groupId;
	}
	public void setOrderId(String orderId) {
		this.orderId = orderId;
	}
	public void setStatus(String status) {
		this.status = status;
	}
	public void setMessage(String message) {
		this.message = message;
	}
	public void setDate(String date) {
		this.date = date;
	}
	@Override
	public String toString() {
		return "Resp [groupId=" + groupId + ", orderId=" + orderId + ", status=" + status + ", message=" + message
				+ ", date=" + date + "]";
	}
}
